package cn.bdqn.dao;

import cn.bdqn.entity.AuthorityRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ProjectName: springbootSecurity
 * @Package: cn.cn.bdqn.security.dao
 * @Author: huat
 * @Date: 2019/12/12 16:15
 * @Version: 1.0
 */
@Mapper
public interface RoleDao {
    //根据用户id获取对应的权限
    List<AuthorityRole> getAllRole(@Param("id") int id);
}
